package a4;

public class Cash extends Payment {
    private double cashTendered;

    // Constructors, getters, and setters
    public Cash(double amount, double cashTendered) {
        super(amount);
        this.cashTendered = cashTendered;
    }

    // Getters and Setters
    public double getCashTendered() { return cashTendered; }
    public void setCashTendered(double cashTendered) { this.cashTendered = cashTendered; }
}